package com.yj.lottery_system.service;


import com.yj.lottery_system.controller.param.UserLoginParam;
import com.yj.lottery_system.controller.param.UserRegisterParam;
import com.yj.lottery_system.service.dto.UserDTO;
import com.yj.lottery_system.service.dto.UserLoginDTO;
import com.yj.lottery_system.service.dto.UserRegisterDTO;
import com.yj.lottery_system.service.enums.UserIdentityEnum;

import java.util.List;

public interface IUserService {
    /**
     * 注册
     */
    UserRegisterDTO register(UserRegisterParam param);

    /**
     * 用户登录
     * 密码或验证码
     * @param param
     * @return
     */
    UserLoginDTO login(UserLoginParam param);

    /**
     * 根据身份 查询人员列表
     * @param userIdentityEnum  身份标识
     * @return
     */
    List<UserDTO> findUserInfo(UserIdentityEnum userIdentityEnum);

}
